package com.pinda.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "aggregation-service",url = "http://localhost:2002")
public interface PdCoreOrgFeignClient {
    @GetMapping("/pd-core-org/selectName/{id}")
    String selectName(@PathVariable("id") long id);
}
